const registry = require('./service-factory').getRegistry();

setInterval(() => {//查看集群获取的地址，多个实例可以看到负载效果
    
    let service = "m-test1";
    let url = registry.getServiceNode(service);
    console.info(`service [${service}] url is ${url}`);
    
}, 3000);